package com.lh.dto;


import java.io.Serializable;

public class IdDto implements Serializable {
    private Long id;

    public static IdDto builder(Long id) {
        IdDto dto = new IdDto();
        dto.setId(id);
        return dto;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "IdDto{" +
                "id=" + id +
                '}';
    }
}
